package CH13;

/**
 * Created by lenovo on 2016/4/17.
 */
import static java.lang.System.out;
import java.time.Month;

public class MonthDemo {
    public static void main(String[] args) {
        for(Month month : Month.values()) {
            out.printf("original:%2d  value:%2d  %s%n",
                    month.ordinal(), month.getValue(), month);
        }
    }
}
